package com.southwind.springboottest.studykotlin.常用用法

import java.util.*

val nameList = Arrays.asList("Tom", "Rust Fisher", "Jerry")
fun main() {
    if ("Rust Fisher" in nameList) {
        println("Rust Fisher在列表中")
    }
    if ("David" !in nameList) {
        println("David不在列表中")
    }

    val firstName = "Rust"
    val lastName = "Fisher"
    println("$firstName $lastName")
    val readOnlyList = listOf("a", "b")
}